#pragma once

#include<ppltasks.h>
#include<atlpath.h>

namespace Rendering {

class BasicReaderWriter
{
public:
    static vector<byte> ReadData(
        string filename
        );

    static concurrency::task<vector<byte>> ReadDataAsync(
        string filename
        );

    static UINT WriteData(
        string filename,
        const vector<byte> fileData
        );

    static concurrency::task<void> WriteDataAsync(
        string filename,
        const vector<byte> fileData
        );
};

}